Wait_Flag	
This flag determines whether PLC will wait until the device serial ports receive the intended data before continuing. The request can either send a message and wait for a reply, or send a message and continue without waiting for a reply. If the Command Block specifies that the program will not wait for a reply, the Command Block contents are sent to the device and ladder program execution resumes immediately. This is referred to as NOWAIT mode. If the Command Block specifies that the program will wait for a reply, the Command Block contents are sent to the targeted device and the CPU waits for a reply for a maximum length of time specified in the Command Block. If the device does not respond in that time, ladder program execution resumes. This is referred to as WAIT mode.
#END#

Idle_Tmout	
The idle timeout value is the maximum time the PLC waits for the device to acknowledge receipt of the request. For NOWAIT, this value is not used. (Any timeout value is ignored; it can be zero.) If WAIT is selected, this word specifies the idle timeout period, in 100-microsecond increments.
#END# 

Max_Comm_Tm	
This word contains the maximum amount of time the program should hold the window open when the device is busy. For NOWAIT, this value is not used. (Any timeout value is ignored; it can be zero.) If WAIT is selected, this word specifies the maximum time in 100 microsecond increments.
#END#

Dev_Tasks	

#END#

PCM Reset
Two or more Series 90 PCMs in the same PLC can be reset during the same PLC sweep by using WAIT mode PCM reset COMMREQs provided that the PCMs have release 4.05 or later firmware installed. WAIT mode forces the PLC CPU to send a COMMREQ during the sweep when the COMMREQ function block executes. Consequently, multiple PCMs can be reset in the same sweep by executing a separate COMMREQ for each one during the sweep. Because the PCMs never respond to reset COMMREQs, the WAIT mode timeout values can be made very short to minimize impact of the COMMREQ on sweep time.
#END#


Megabasic
The COMMREQ command used to blink or turn off the PCMs User LED 1. The PCM must be configured using PCOP to permit LED 1 to be controlled by the MegaBasic program.
#END#

Reset_Command_Value
Select Soft or Hard Reset.
#END#

Function
Select the LED function. Note that it is also possible to simply turn the LED on, but this program does not use that indication.
#END#
